package com.zhao.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Filestatistic {
    @TableId(type = IdType.AUTO)
    private Integer id;                //统计id
    private Integer fileId;            //文章id
    private Integer downup;            //下载量
    private Integer commentsNum;       //文章评论量
    private Integer average;           //平均分
    private String sumprice;              //总收入
    @TableLogic //逻辑删除注解
    private Integer deleted;
}
